﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ListArticles.aspx.cs" Inherits="Admin_cms_ListArticles" %>
<%@ Register TagPrefix="portal" TagName="pager" Src="../pager.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Articles</title>
    <link href="../admin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table border="0" width="90%">
                <tr bgcolor="#f2f2f2">
                    <td class="bt_hei01">
                        <div align="center">
                            标题</div>
                    </td>
                    <td width="100" class="bt_hei01">
                        <div align="center">
                            日期</div>
                    </td>
                    <td width="80" class="bt_hei01">
                        <div align="center">
                        </div>
                    </td>
                </tr>
                <asp:Repeater ID="ra" runat="server" OnItemDataBound="ra_ItemDataBound" OnItemCommand="ra_ItemCommand">
                    <ItemTemplate>
                        <tr>
                            <td class="lan_01">
                                <div>
                                    <asp:Literal ID="lt" runat="server"/></div>
                            </td>
                            <td class="lan_01">
                                <div>
                                    <asp:Literal ID="lc" runat="server"/></div>
                            </td>
                            <td>
                                <div align="center" class="hui_01">
                                    <asp:HyperLink ID="he" runat="server" Text="编辑" NavigateUrl="editarticle.aspx?aid={0}" />
                                    <asp:LinkButton ID="lbd" CommandName="delete" runat="server" Text="删除" OnClientClick="return confirm('确定要删除此文章吗?');" /></div>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <portal:Pager ID="pager" runat="server" />
        </div>
    </form>
</body>
</html>
